/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BUS;

import DAO.PhieuThuePhong_DAO;
import DTO.PhieuThuePhong_DTO;
import java.util.ArrayList;

/**
 *
 * @author Lenh Ho Xung
 */
public class PhieuThuePhong_BUS {
    public static String laymaMax() throws Exception{
        return PhieuThuePhong_DAO.laymaMax();
    }
    public static void Insert(PhieuThuePhong_DTO p) throws Exception{
        PhieuThuePhong_DAO.Insert(p);
    }
        
    public static ArrayList<PhieuThuePhong_DTO> layDSKhachHangDangThue() throws Exception {
        return PhieuThuePhong_DAO.layDSKhachHangDangThue();
    }
        public static float layTriGiaTheoMaKhach(String maKhach) throws Exception{
        return PhieuThuePhong_DAO.layTriGiaTheoMaKhach(maKhach);
    }
}
